import '@/app/(main)/paper/style.scss'; import { TrendingUp, Target, TrendingDown, ListChecks } from 'lucide-react'; import { fetchPaperTrackRecord } from '@/lib/api/paper'; import { formatBpPercent, formatBpAbs, bpDirection } from '@/lib/utils/paper'; type Props = { params: Promise<{ sid: string }>; }; // 프로필 "모의투자 성적" 탭 (익명 허용 · SSR) — 누적수익률·승률·MDD·체결수 export default async function UserProfilePaperPage({ params }: Props) { const { sid } = await params; const res = await fetchPaperTrackRecord(sid); const record = res.success ? res.data : null; if (!res.success) { return